package com.awifi.spring;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;


//http://localhost:8080/mvc-xml/saveResult
@Controller
public class ResponseBodyExampleController {

	@RequestMapping( value="/saveResult" )
	@ResponseBody
	public String authorInfo( Model model ) {
		return "saved";
	}
}
